/*
 * MySendAskHolder.java
 * business
 *
 * Created by SunDing on 2016/9/29.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.widget.listview.viewholder;

import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.yidiandao.business.R;
import com.yidiandao.business.ui.widget.listview.ViewHolder;
import com.yidiandao.business.ui.widget.view.ResizeGridView;

/**
 * 我发布的求购
 */
public class MySendAskHolder extends ViewHolder {

    public LinearLayout mRootItem;
    public ImageView mIvAdv;
    public TextView mTvName;
    public TextView mTvTitle;
    public ResizeGridView mResizeGridView;
    public TextView mTvTime;
    public TextView mTvNewNum;
    public TextView mTvOfferNum;
    public View mViewSpace;
    public TextView mTvDateMonth;
    public ImageView mIvStatus;
    public TextView mTvDelete;
    public TextView mTvEdit;
    public TextView mTvNumber;
    @Override
    protected void initView(View rootView) {
        mTvDelete = (TextView) rootView.findViewById(R.id.tv_delete);
        mTvEdit = (TextView) rootView.findViewById(R.id.tv_edit);
        mTvNumber = (TextView) rootView.findViewById(R.id.tv_number);
        mIvStatus = (ImageView) rootView.findViewById(R.id.iv_status);
        mRootItem = (LinearLayout)rootView.findViewById(R.id.root_item);
        mIvAdv = (ImageView) rootView.findViewById(R.id.iv_adv);
        mTvName = (TextView) rootView.findViewById(R.id.tv_name);
        mTvTitle = (TextView) rootView.findViewById(R.id.tv_title);
        mResizeGridView = (ResizeGridView) rootView.findViewById(R.id.grid_view);
        mTvTime = (TextView) rootView.findViewById(R.id.tv_time);
        mTvNewNum = (TextView) rootView.findViewById(R.id.tv_new_num);
        mTvOfferNum = (TextView) rootView.findViewById(R.id.tv_offer_num);
        mViewSpace = rootView.findViewById(R.id.view_space);
        mTvDateMonth = (TextView) rootView.findViewById(R.id.tv_date_month);

    }

    @Override
    protected int getItemLayoutId() {
        return R.layout.item_ask_send;
    }
}
